<template>
  <div class="detail">

    <!--查看档案-->
    <view-archives v-if="$route.query.type === 'archives'"></view-archives>

    <!--查看卷内-->
    <view-juannei v-if="$route.query.type === 'jn'"></view-juannei>

    <!--查看案卷-->
    <view-anjuan v-if="$route.query.type === 'aj'"></view-anjuan>

  </div>
</template>

<script>

import ViewArchives from './viewArchives'
import ViewJuannei from './viewJuannei'
import ViewAnjuan from './viewAnjuan'
export default {
  name: 'UtilizeDetails',
  components: { ViewAnjuan, ViewJuannei, ViewArchives }
}
</script>

<style lang="scss" scoped>

</style>
